import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import i18n from './i18n' // 引入国际化
import './utils/uni-adapter' // 引入uni-app适配层
import './assets/theme.css' // 引入主题样式
import './registerSW' // 注册 Service Worker

const app = createApp(App)
const pinia = createPinia()

app.use(pinia)
app.use(router)
app.use(i18n) // 使用国际化

app.mount('#app')